<?xml version="1.0" encoding="UTF-8"?>
<xhtml xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ev="http://www.w3.org/2001/xml-events" 
    xmlns:xf="http://www.w3.org/2002/xforms">
    <head>
        
        <style type="text/css">
            h1 {font-size: 12pt }
            xf|input.itemClass { width:100px }
            xf|input.custNumClass { width:100px }
            xf|input.dateClass { width:80px }
        </style>
        <title>Enter Review(s)</title>
        
        <xf:model id="model1">
            
            <xf:instance>
                <books xmlns="">
                    <review>
                        <title/>
                        <author/>
                        <custreview/>
                    </review>
                </books>
            </xf:instance>
            
            <xf:submission id="s01" method="put"
                action="ex2order.xml" /> 
        </xf:model>
    </head>
    
    <body>
        
        <h1>Give Reviews here!</h1>
        
        <p>Enter details.</p>
        
        <xf:repeat id="i1" nodeset="/books/review">
            
            <xf:input ref="title">
                <xf:label>Title </xf:label>
            </xf:input>
            
            <xf:input ref="author">
                <xf:label>Author</xf:label>
            </xf:input>
            
            <xf:input ref="custreview">
                <xf:label>Reviews</xf:label>
            </xf:input>
            
            
            <br />
        </xf:repeat>
        
        <xf:trigger id="addAnotherBookReview">
            <xf:label>Add Reviews</xf:label>
            <xf:action ev:event="DOMActivate">
            <xf:insert nodeset="review" at="last()"
                position="after"
                ev:event="xforms-activate"/>
            </xf:action>
        </xf:trigger>
        
        <xf:submit submission="s01">
            <xf:label>Save</xf:label>
            <xf:hint>Click here to save.</xf:hint>
        </xf:submit>
        
        <p>Click "Save" to store entered reviews.</p>
        
    </body>
</xhtml>
